using Net35.Xrm.Sdk.Metadata;
using System;
using System.Runtime.Serialization;
namespace Net35.Xrm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed class RetrieveAllEntitiesRequest : OrganizationRequest
	{
		public EntityFilters EntityFilters
		{
			get
			{
				if (base.Parameters.Contains("EntityFilters"))
				{
					return (EntityFilters)base.Parameters["EntityFilters"];
				}
				return (EntityFilters)0;
			}
			set
			{
				base.Parameters["EntityFilters"] = value;
			}
		}
		public bool RetrieveAsIfPublished
		{
			get
			{
				return base.Parameters.Contains("RetrieveAsIfPublished") && (bool)base.Parameters["RetrieveAsIfPublished"];
			}
			set
			{
				base.Parameters["RetrieveAsIfPublished"] = value;
			}
		}
		public RetrieveAllEntitiesRequest()
		{
			base.RequestName = "RetrieveAllEntities";
			this.EntityFilters = (EntityFilters)0;
			this.RetrieveAsIfPublished = false;
		}
	}
}
